package com.zl.task.service.impl;

import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zl.task.dao.ServiceServerMapper;
import com.zl.task.pojo.ServiceServer;
import com.zl.task.service.IServiceServerService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author yinlingeng
 * @since 2021-07-23
 */
@Service
public class ServiceServerServiceImpl extends ServiceImpl<ServiceServerMapper, ServiceServer> implements IServiceServerService {

    /**
     * 所有服务
     *
     * @return
     */
    @Override
    public List<ServiceServer> listServer() {
        return baseMapper.selectList(Wrappers.<ServiceServer>lambdaQuery());
    }

}
